﻿/* Vertical stacking / dropdown */
.stack-vertically.culture-switch-select {
    position: relative;
    float: left;
    margin-right: 15px;
    top: 29px;
    cursor: pointer;
    width: 115px; /*Should be set to largest language text*/
    border: solid 2px;
    box-sizing: border-box;
    z-index: 20;
}
.stack-vertically.culture-switch-select.names-hidden {
    width: 38px;
    background-color: transparent !important;
    overflow: hidden;
}
.site-header-regular .stack-vertically.culture-switch-select {
    top: -4px;
}
.site-header-hamburger .stack-vertically.culture-switch-select {
    top: 20px;
}
.site-header-fixed .stack-vertically.culture-switch-select {
    top: 0px;
}
.stack-vertically .culture-switch-divider {
    position: relative;
    float: left;
    width: 100%;
    height: 2px;
}
.stack-vertically .culture-switch-item {
    position: relative;
    float: left;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
}
.stack-vertically.names-hidden .culture-switch-item {
    background-color: transparent !important;
}
.stack-vertically .culture-switch-item img {
    position: relative;
    float: left;
    max-width: 24px;
    margin: 4px 5px 4px 10px;
}
.stack-vertically.names-hidden img {
    margin: 0;
    z-index: -1;
    max-width: 100%;
}
.stack-vertically .culture-switch-item div {
    position: relative;
    float: left;
    margin-left: 5px;
    margin: 4px 10px 4px 0px;
    font-size: 14px;
}
.stack-vertically .culture-switch-links {
    position: relative;
    float: left;
    width: 100%;
    display: none;
}

/* Horizontal stacking */
.stack-horizontally.culture-switch-select {
    position: relative;
    float: left;
    margin-right: 15px;
    top: 29px;
    cursor: pointer;
    border: solid 2px;
    box-sizing: border-box;
    z-index: 20;
    height: 30px;
    overflow: hidden;
}
.site-header-regular .stack-horizontally.culture-switch-select {
    top: -4px;
}
.site-header-hamburger .stack-horizontally.culture-switch-select {
    top: 20px;
}
.site-header-fixed .stack-horizontally.culture-switch-select {
    top: 0px;
}
.stack-horizontally .culture-switch-divider {
    position: relative;
    float: left;
    width: 2px;
    height: 100%;
}
.stack-horizontally .culture-switch-item {
    position: relative;
    float: left;
    height: 100%;
}
    .stack-horizontally .culture-switch-item img {
        position: relative;
        float: left;
        height: 26px;
        width: 35px;
    }
.stack-horizontally .culture-switch-item img:hover{
    opacity: 0.7;
}
.stack-horizontally .culture-switch-links {
    position: relative;
    float: left;
    height: 100%;
}